package com.jumi.microservice.dto.reponse.api;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.jm.member.common.core.constant.Decimal2Serializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 累计总收益-->今日收益等
 */
@ApiModel("收益分项")
public class FenXiaoItem {
    @ApiModelProperty("总收益")
    private BigDecimal sum;
    @ApiModelProperty("推广收益")
    private BigDecimal tg;//推广收益
    @ApiModelProperty("服务收益")
    private BigDecimal fw;//服务收益
    @ApiModelProperty("订单数量")
    private Integer orderNum;//订单量

    @ApiModelProperty("成交金额")
    private BigDecimal payPrice;//成交金额

    @ApiModelProperty("邀请人数")
    private Integer inviterNum;//邀请人数

    public FenXiaoItem() {
    }

    public FenXiaoItem(BigDecimal sum, BigDecimal tg, BigDecimal fw, Integer orderNum, BigDecimal payPrice, Integer inviterNum) {
        this.sum = sum;
        this.tg = tg;
        this.fw = fw;
        this.orderNum = orderNum;
        this.payPrice = payPrice;
        this.inviterNum = inviterNum;
    }

    public BigDecimal getSum() {
        return sum;
    }

    public void setSum(BigDecimal sum) {
        this.sum = sum;
    }

    public BigDecimal getTg() {
        return tg;
    }

    public void setTg(BigDecimal tg) {
        this.tg = tg;
    }

    public BigDecimal getFw() {
        return fw;
    }

    public void setFw(BigDecimal fw) {
        this.fw = fw;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public Integer getInviterNum() {
        return inviterNum;
    }

    public void setInviterNum(Integer inviterNum) {
        this.inviterNum = inviterNum;
    }
}
